package com.jimster.plugins.utils
{
	public class ValidatorUtil
	{
		public static const EMAIL_REGEX : RegExp = /^[A-Z0-9._%+-]+@(?:[A-Z0-9-]+\.)+[A-Z]{2,4}$/i;
		
		public function ValidatorUtil()
		{
		}
		
		public static function validateEmail( $email:String ):Boolean
		{
			return Boolean( $email.match( EMAIL_REGEX ) );
		}
	}
}